<%@page contentType="text/html;charset=utf-8" language="java" %>
<%
	String userId = request.getParameter("userId")==null?"":request.getParameter("userId");
	userId=Base64.decode(userId);
	String funcId = request.getParameter("funcId")==null?"":request.getParameter("funcId");
	funcId=Base64.decode(funcId);
	String jobId = request.getParameter("jobId")==null?"":request.getParameter("jobId");
	jobId=Base64.decode(jobId);
%>

<!DOCTYPE html>
<html>

<head>
<title>应用权限管理</title>
<meta charset="utf-8"/>
<%@include file="../common/jsp/common.jsp"%>
<script>
var userQId = '<%=userId%>';
var jobQId = '<%=jobId%>';
var funcQId = '<%=funcId%>';
</script>
<script>
	requires(["artDialog", "ztree", "manage", "/manage/apply.js"]);
</script>

</head>

<body class="apply link_user_job_func">

<div class="main">
	<div class="top">
		<h1>应用权限管理</h1>
		<div class="crumbs">您当前位置：系统管理 -&gt; <a href="apply.jsp"><e>应用权限管理 </e></a></div>
	</div><div style="clear:both"></div>
	<div class="link-form-box">
		<div class="link-form" id="linkForm">
			<div class="link-form-left">
				<div class="link-form-left-box">
					<h2 class="link-form-caption">用户列表</h2>
					<div class="search-box">
						<div class="search">
						    <input type="text" id="userSearchInput" class="search-input" placeholder="请输入关键字(用户编码/名称)......">
						    <button class="button_blue" id="userSearchBtn">查询</button>
						</div>
					</div>
					<div id="userTree" class="ztree loadingSmall"></div>
				</div>
			</div>			
			<div class="link-form-center">
				<div class="link-form-center-box">
					<h2 class="link-form-caption link-form-caption-job">角色列表</h2>
					<div class="search-box">
						<div class="search">
						    <input type="text" id="jobSearchInput" class="search-input" placeholder="请输入关键字(角色编码/名称)......">
						    <button class="button_blue" id="jobSearchBtn">查询</button>
						</div>
					</div>
					<div id="jobTree" class="ztree loadingSmall"></div>
				</div>
			</div>
			<div class="link-form-right">
				<div class="link-form-right-box">
					<h2 class="link-form-caption">功能列表</h2>
					<div class="search-box">
						<div class="search">
						    <input type="text" id="funcSearchInput" class="search-input" placeholder="请输入关键字(功能编码/名称)......">
						    <button class="button_blue" id="funcSearchBtn">查询</button>
						</div>
					</div>
					<div id="funcTree" class="ztree loadingSmall"></div>	
				</div>
			</div>
		</div><div style="clear:both"></div>

		<div class="form-submit-box">
			<label class="view-mode"><input id="viewMode" type="checkbox" class="rc12"> 查看模式</label>
			<button class="form-submit form-submit-add"><i class="iconfont icon-baocun"></i> 新增应用权限</button>
			<button class="form-submit form-submit-delete"><i class="iconfont icon-shanchu"></i> 删除应用权限</button>
			<span class="form-tip"></span>
		</div>
	</div>
</div>

</body>
</html>